package com.tecklab.demo.service;


import com.tecklab.demo.dto.EmployeeDTO;
import com.tecklab.demo.param.EmployeeAddParam;
import com.tecklab.demo.param.EmployeeModifyParam;

import java.util.List;

public interface EmployeeService {

    int create(EmployeeAddParam addParam);

    int modify(EmployeeModifyParam addParam);

    EmployeeDTO getById(Integer id);

    int deleteByName(String name);

    List<EmployeeDTO> getList();

    List<EmployeeDTO> getByDepartmentId(Integer departmentId);

}
